#if !defined(AFX_MYINTELLISENSEWND_H__2D884D5A_B4C1_4EE0_A5D6_3D8703CA99D1__INCLUDED_)
#define AFX_MYINTELLISENSEWND_H__2D884D5A_B4C1_4EE0_A5D6_3D8703CA99D1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

//
// MyIntelliSenseWnd.h : header file
//


#include "MyIntelliSenseLB.h"

class CMyEditCtrl;

/////////////////////////////////////////////////////////////////////////////
// CMyIntelliSenseWnd frame

class CMyIntelliSenseWnd : public CMiniFrameWnd
{
	DECLARE_DYNCREATE(CMyIntelliSenseWnd)
public:
	CMyIntelliSenseWnd();           // protected constructor used by dynamic creation

	virtual BOOL Create (CObList& lstData, DWORD dwStyle, CPoint pt, 
						 CWnd* pParentWnd, CFont* pLBFont, CImageList* pImageList = NULL, 
						 CRuntimeClass* pLBDataRTC = NULL);
// Attributes
public:
	CMyEditCtrl* GetParentEditCtrl () {return m_pParentEditCtrl;}
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyIntelliSenseWnd)
	protected:
	virtual void PostNcDestroy();
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CMyIntelliSenseWnd();

	// Generated message map functions
	//{{AFX_MSG(CMyIntelliSenseWnd)
	afx_msg void OnDestroy();
	//}}AFX_MSG
	afx_msg LRESULT DeleteItem (WPARAM, LPARAM);
	afx_msg LRESULT OnNcHitTest(CPoint point);
	DECLARE_MESSAGE_MAP()

	CMyBaseIntelliSenseLB*	m_pLstBoxData;
	CFont						m_lbFont;
	CMyEditCtrl*				m_pParentEditCtrl;
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MYINTELLISENSEWND_H__2D884D5A_B4C1_4EE0_A5D6_3D8703CA99D1__INCLUDED_)
